package com.wu.company.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * POJO类UtioperatelogId
 */
@Embeddable
public class UtioperatelogId implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	/** 属性logid */
	private Long logid;

	/** 属性系统代码 */
	private String systemCode;

	/** 属性险种代码 */
	private String riskCode;

	/** 属性业务类型 */
	private String businessType;

	/** 属性业务号 */
	private String businessNo;

	/** 属性logno */
	private BigDecimal logno;

	/** 属性isjfeeflag */
	private String isjfeeflag;

	/** 属性isautounderwrite */
	private String isautounderwrite;

	/** 属性isilog */
	private String isilog;

	/** 属性操作类型 */
	private String operateType;

	/** 属性操作时间 */
	private Date operateTime;

	/** 属性机构代码 */
	private String comCode;

	/** 属性注销/拒赔（恢复）申请处理机构 */
	private String makeCom;

	/** 属性操作员代码 */
	private String operatorCode;

	/** 属性IP */
	private String ip;

	/** 属性录入时间 */
	private Date inputTime;

	/** 属性备注 */
	private String remark;

	/** 属性标志 */
	private String flag;

	/**
	 * 类UtioperatelogId的默认构造方法
	 */
	public UtioperatelogId() {
	}

	/**
	 * 属性logid的getter方法
	 */

	@Column(name = "LOGID")
	public Long getLogid() {
		return this.logid;
	}

	/**
	 * 属性logid的setter方法
	 */
	public void setLogid(Long logid) {
		this.logid = logid;
	}

	/**
	 * 属性系统代码的getter方法
	 */

	@Column(name = "SYSTEMCODE")
	public String getSystemCode() {
		return this.systemCode;
	}

	/**
	 * 属性系统代码的setter方法
	 */
	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}

	/**
	 * 属性险种代码的getter方法
	 */

	@Column(name = "RISKCODE")
	public String getRiskCode() {
		return this.riskCode;
	}

	/**
	 * 属性险种代码的setter方法
	 */
	public void setRiskCode(String riskCode) {
		this.riskCode = riskCode;
	}

	/**
	 * 属性业务类型的getter方法
	 */

	@Column(name = "BUSINESSTYPE")
	public String getBusinessType() {
		return this.businessType;
	}

	/**
	 * 属性业务类型的setter方法
	 */
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	/**
	 * 属性业务号的getter方法
	 */

	@Column(name = "BUSINESSNO")
	public String getBusinessNo() {
		return this.businessNo;
	}

	/**
	 * 属性业务号的setter方法
	 */
	public void setBusinessNo(String businessNo) {
		this.businessNo = businessNo;
	}

	/**
	 * 属性logno的getter方法
	 */

	@Column(name = "LOGNO")
	public BigDecimal getLogno() {
		return this.logno;
	}

	/**
	 * 属性logno的setter方法
	 */
	public void setLogno(BigDecimal logno) {
		this.logno = logno;
	}

	/**
	 * 属性isjfeeflag的getter方法
	 */

	@Column(name = "ISJFEEFLAG")
	public String getIsjfeeflag() {
		return this.isjfeeflag;
	}

	/**
	 * 属性isjfeeflag的setter方法
	 */
	public void setIsjfeeflag(String isjfeeflag) {
		this.isjfeeflag = isjfeeflag;
	}

	/**
	 * 属性isautounderwrite的getter方法
	 */

	@Column(name = "ISAUTOUNDERWRITE")
	public String getIsautounderwrite() {
		return this.isautounderwrite;
	}

	/**
	 * 属性isautounderwrite的setter方法
	 */
	public void setIsautounderwrite(String isautounderwrite) {
		this.isautounderwrite = isautounderwrite;
	}

	/**
	 * 属性isilog的getter方法
	 */

	@Column(name = "ISILOG")
	public String getIsilog() {
		return this.isilog;
	}

	/**
	 * 属性isilog的setter方法
	 */
	public void setIsilog(String isilog) {
		this.isilog = isilog;
	}

	/**
	 * 属性操作类型的getter方法
	 */

	@Column(name = "OPERATETYPE")
	public String getOperateType() {
		return this.operateType;
	}

	/**
	 * 属性操作类型的setter方法
	 */
	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}

	/**
	 * 属性操作时间的getter方法
	 */

	@Column(name = "OPERATETIME")
	public Date getOperateTime() {
		return this.operateTime;
	}

	/**
	 * 属性操作时间的setter方法
	 */
	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}

	/**
	 * 属性机构代码的getter方法
	 */

	@Column(name = "COMCODE")
	public String getComCode() {
		return this.comCode;
	}

	/**
	 * 属性机构代码的setter方法
	 */
	public void setComCode(String comCode) {
		this.comCode = comCode;
	}

	/**
	 * 属性注销/拒赔（恢复）申请处理机构的getter方法
	 */

	@Column(name = "MAKECOM")
	public String getMakeCom() {
		return this.makeCom;
	}

	/**
	 * 属性注销/拒赔（恢复）申请处理机构的setter方法
	 */
	public void setMakeCom(String makeCom) {
		this.makeCom = makeCom;
	}

	/**
	 * 属性操作员代码的getter方法
	 */

	@Column(name = "OPERATORCODE")
	public String getOperatorCode() {
		return this.operatorCode;
	}

	/**
	 * 属性操作员代码的setter方法
	 */
	public void setOperatorCode(String operatorCode) {
		this.operatorCode = operatorCode;
	}

	/**
	 * 属性IP的getter方法
	 */

	@Column(name = "IP")
	public String getIp() {
		return this.ip;
	}

	/**
	 * 属性IP的setter方法
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}

	/**
	 * 属性录入时间的getter方法
	 */

	@Column(name = "INPUTTIME")
	public Date getInputTime() {
		return this.inputTime;
	}

	/**
	 * 属性录入时间的setter方法
	 */
	public void setInputTime(Date inputTime) {
		this.inputTime = inputTime;
	}

	/**
	 * 属性备注的getter方法
	 */

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	/**
	 * 属性备注的setter方法
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 属性标志的getter方法
	 */

	@Column(name = "FLAG")
	public String getFlag() {
		return this.flag;
	}

	/**
	 * 属性标志的setter方法
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}

	public boolean equals(Object other) {
		if ((this == other)) {
			return true;
		}
		if ((other == null)) {
			return false;
		}
		if (!(other instanceof UtioperatelogId)) {
			return false;
		}
		UtioperatelogId castOther = (UtioperatelogId) other;

		return ((this.getLogid() == castOther.getLogid()) || (this.getLogid() != null
				&& castOther.getLogid() != null && this.getLogid().equals(
				castOther.getLogid())))
				&& ((this.getSystemCode() == castOther.getSystemCode()) || (this
						.getSystemCode() != null
						&& castOther.getSystemCode() != null && this
						.getSystemCode().equals(castOther.getSystemCode())))
				&& ((this.getRiskCode() == castOther.getRiskCode()) || (this
						.getRiskCode() != null
						&& castOther.getRiskCode() != null && this
						.getRiskCode().equals(castOther.getRiskCode())))
				&& ((this.getBusinessType() == castOther.getBusinessType()) || (this
						.getBusinessType() != null
						&& castOther.getBusinessType() != null && this
						.getBusinessType().equals(castOther.getBusinessType())))
				&& ((this.getBusinessNo() == castOther.getBusinessNo()) || (this
						.getBusinessNo() != null
						&& castOther.getBusinessNo() != null && this
						.getBusinessNo().equals(castOther.getBusinessNo())))
				&& ((this.getLogno() == castOther.getLogno()) || (this
						.getLogno() != null && castOther.getLogno() != null && this
						.getLogno().equals(castOther.getLogno())))
				&& ((this.getIsjfeeflag() == castOther.getIsjfeeflag()) || (this
						.getIsjfeeflag() != null
						&& castOther.getIsjfeeflag() != null && this
						.getIsjfeeflag().equals(castOther.getIsjfeeflag())))
				&& ((this.getIsautounderwrite() == castOther
						.getIsautounderwrite()) || (this.getIsautounderwrite() != null
						&& castOther.getIsautounderwrite() != null && this
						.getIsautounderwrite().equals(
								castOther.getIsautounderwrite())))
				&& ((this.getIsilog() == castOther.getIsilog()) || (this
						.getIsilog() != null && castOther.getIsilog() != null && this
						.getIsilog().equals(castOther.getIsilog())))
				&& ((this.getOperateType() == castOther.getOperateType()) || (this
						.getOperateType() != null
						&& castOther.getOperateType() != null && this
						.getOperateType().equals(castOther.getOperateType())))
				&& ((this.getOperateTime() == castOther.getOperateTime()) || (this
						.getOperateTime() != null
						&& castOther.getOperateTime() != null && this
						.getOperateTime().equals(castOther.getOperateTime())))
				&& ((this.getComCode() == castOther.getComCode()) || (this
						.getComCode() != null && castOther.getComCode() != null && this
						.getComCode().equals(castOther.getComCode())))
				&& ((this.getMakeCom() == castOther.getMakeCom()) || (this
						.getMakeCom() != null && castOther.getMakeCom() != null && this
						.getMakeCom().equals(castOther.getMakeCom())))
				&& ((this.getOperatorCode() == castOther.getOperatorCode()) || (this
						.getOperatorCode() != null
						&& castOther.getOperatorCode() != null && this
						.getOperatorCode().equals(castOther.getOperatorCode())))
				&& ((this.getIp() == castOther.getIp()) || (this.getIp() != null
						&& castOther.getIp() != null && this.getIp().equals(
						castOther.getIp())))
				&& ((this.getInputTime() == castOther.getInputTime()) || (this
						.getInputTime() != null
						&& castOther.getInputTime() != null && this
						.getInputTime().equals(castOther.getInputTime())))
				&& ((this.getRemark() == castOther.getRemark()) || (this
						.getRemark() != null && castOther.getRemark() != null && this
						.getRemark().equals(castOther.getRemark())))
				&& ((this.getFlag() == castOther.getFlag()) || (this.getFlag() != null
						&& castOther.getFlag() != null && this.getFlag()
						.equals(castOther.getFlag())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getLogid() == null ? 0 : this.getLogid().hashCode());
		result = 37
				* result
				+ (getSystemCode() == null ? 0 : this.getSystemCode()
						.hashCode());
		result = 37 * result
				+ (getRiskCode() == null ? 0 : this.getRiskCode().hashCode());
		result = 37
				* result
				+ (getBusinessType() == null ? 0 : this.getBusinessType()
						.hashCode());
		result = 37
				* result
				+ (getBusinessNo() == null ? 0 : this.getBusinessNo()
						.hashCode());
		result = 37 * result
				+ (getLogno() == null ? 0 : this.getLogno().hashCode());
		result = 37
				* result
				+ (getIsjfeeflag() == null ? 0 : this.getIsjfeeflag()
						.hashCode());
		result = 37
				* result
				+ (getIsautounderwrite() == null ? 0 : this
						.getIsautounderwrite().hashCode());
		result = 37 * result
				+ (getIsilog() == null ? 0 : this.getIsilog().hashCode());
		result = 37
				* result
				+ (getOperateType() == null ? 0 : this.getOperateType()
						.hashCode());
		result = 37
				* result
				+ (getOperateTime() == null ? 0 : this.getOperateTime()
						.hashCode());
		result = 37 * result
				+ (getComCode() == null ? 0 : this.getComCode().hashCode());
		result = 37 * result
				+ (getMakeCom() == null ? 0 : this.getMakeCom().hashCode());
		result = 37
				* result
				+ (getOperatorCode() == null ? 0 : this.getOperatorCode()
						.hashCode());
		result = 37 * result + (getIp() == null ? 0 : this.getIp().hashCode());
		result = 37 * result
				+ (getInputTime() == null ? 0 : this.getInputTime().hashCode());
		result = 37 * result
				+ (getRemark() == null ? 0 : this.getRemark().hashCode());
		result = 37 * result
				+ (getFlag() == null ? 0 : this.getFlag().hashCode());
		return result;
	}

}
